#include <iostream>
#include "Taiji/TUtil/CLogs.h"
#include "Poco/LocalDateTime.h"
#include "Poco/DateTimeFormatter.h"
#include "Poco/DateTimeFormat.h"

using Taiji::TUtil::CLogs;

int main() {
    Poco::LocalDateTime now;
    std::string str = Poco::DateTimeFormatter::format(now, Poco::DateTimeFormat::SORTABLE_FORMAT);
    std::cout<<str<<std::endl;

    CLogs::instance().createLog("./", "test.log", "TEST");
    CLogs::instance().getLog("TEST").information(Taiji::TUtil::ELogType::IN,"",__func__,__BASE_FILE__ ,"",str);

    return 0;
}